import Area from 'src/components/Charts/Area';

const data = [
  {
    legendName: '新增订单',
    axisName: '六天前',
    value: 872,
  },
  {
    legendName: '新增订单',
    axisName: '五天前',
    value: 756,
  },
  {
    legendName: '新增订单',
    axisName: '四天前',
    value: 721,
  },
  {
    legendName: '新增订单',
    axisName: '三天前',
    value: 583,
  },
  {
    legendName: '新增订单',
    axisName: '昨日',
    value: 546,
  },
  {
    legendName: '新增订单',
    axisName: '今日',
    value: 481,
  },
];

export default function AddUser() {
  return (
    <Area
      data={data}
      height={120}
      small={true}
      showLegend={false}
      smooth={true}
      options={{
        grid: {
          left: '0%',
          right: '0%',
          top: '3%',
          containLabel: true,
        },
      }}></Area>
  );
}
